/* 全局样式 */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}
 
/* 樱花树样式 */
.sakura-tree {
    position: relative;
    width: 200px;
    height: 400px;
}
 
.trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 300px;
    background-color: #8B4513;
    border-radius: 10px;
}
 
.branches {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 300px;
    background: url('sakura_branches.png') no-repeat center center;
    background-size: contain;
}
 
/* 花瓣样式和动画 */
.petal {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #FFB6C1;
    border-radius: 50%;
    opacity: 0;
    animation: fall 5s linear infinite;
}
 
@keyframes fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}